<!DOCTYPE html>
<html>

<head>
    <title>批量脚本</title>
    <style>
        body {
            background-color: #f2f2f2;
            font-family: Arial, sans-serif;
        }
        
        form {
            margin: 50px auto;
            max-width: 500px;
            padding: 20px;
            background-color: #ffffff;
            border-radius: 5px;
            box-shadow: 0px 0px 10px #888888;
        }
        
        input[type=text],
        textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid #ccc;
            border-radius: 4px;
            box-sizing: border-box;
            margin-top: 6px;
            margin-bottom: 16px;
            resize: vertical;
        }
        
        input[type=submit] {
            background-color: #4CAF50;
            color: white;
            padding: 12px 20px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
        
        input[type=submit]:hover {
            background-color: #45a049;
        }
    </style>
</head>

<body>
    <form method="POST" action="/api/run_for_process">
        <!-- {% csrf_token %} -->
        <label for="theme_word">主题词:</label>
        <input type="text" id="theme_word" name="theme_word" placeholder="碳，绿色，中和"><br><br>

        <label for="pno_info">高管致辞页码信息</label><br>
        <textarea id="message" name="pno_info" rows="4" cols="50" placeholder="PDF名称,高管致辞开始页码,高管致辞结束页码
000001_平安银行_2020.pdf,2,3
000001_平安银行_2021.pdf,4,5"></textarea><br><br>

        <input type="submit" value="Submit">
    </form>
</body>

</html>